#!/bin/sh

mkdir -p /data/{www,nginx/logs,nginx/certs,nginx/conf.d,crontab}

chmod -R 644 /etc/cron.d

php-fpm && nginx -g "daemon off;"